<?php
class BaseConfig extends Config
{
    public $VERSION = '4.0.0';

    protected static $instance;

    public static function GetInstance()
    {
        return self::$instance ? self::$instance : self::$instance = new BaseConfig();
    }

    public function BaseConfig()
    {
        parent::__construct(URL_ROOT);
        AppConfig::GetInstance()->USING_DIRS = array_merge(AppConfig::GetInstance()->USING_DIRS, $this->USING_DIRS);
        AppConfig::GetInstance()->AddReplaceValue('url_base_img', $this->URL_IMG);
    }
}
?>
